package com.zy.dubbo.demo.user.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zy.dubbo.demo.user.model.User;

import java.util.List;

/**
 * UserSerivice
 *
 * @author Robbin Zhao
 * @since 2020-12-10
 */
public interface UserService {

    User getUserById(Long id);

    List<User> getUserByName(String name);

    Page<User> queryUserList(Page<User> page, String name);
}
